package com.java46.front.dessert.service;


import com.java46.front.dessert.dao.DessertDao;
import com.java46.front.dessert.entity.TestEntity;
import com.java46.front.dessertType.entity.DesserttypeEntity;

import java.util.List;
import java.util.Map;

public class DessertService {
    //得到数据库操作对象
    DessertDao dao = new DessertDao();

    /**
     * 此方法用于通过商品类型查询商品信息
     * @return
     */
    public List<TestEntity> query_Dessert(){
        return dao.query_Dessert();
    }
}
